package com.forum.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.forum.entity.PsychologistEntity;
import com.forum.entity.view.PsychologistView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PsychologistDao extends BaseMapper<PsychologistEntity> {
    /*List<XinlilaoshiVO> selectListVO(@Param("ew") Wrapper<PsychologistEntity> wrapper);

    XinlilaoshiVO selectVO(@Param("ew") Wrapper<PsychologistEntity> wrapper);*/

    List<PsychologistView> selectListView(@Param("ew") Wrapper<PsychologistEntity> wrapper);

    List<PsychologistView> selectListView(Pagination page, @Param("ew") Wrapper<PsychologistEntity> wrapper);

    PsychologistView selectView(@Param("ew") Wrapper<PsychologistEntity> wrapper);

}
